package com.springboot.blog.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "blog_order")
public class BlogOrder {

    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;
    @TableField(value = "order_username")
    private String orderUsername;
    @TableField(value = "order_number")
    private Long orderNumber;
    @TableField(value = "order_balance")
    private Double orderBalance;
    @TableField(value = "order_status")
    private Integer orderStatus;
    @TableField(value = "order_time")
    private Date orderTime;
}
